<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>弹出框-新增规则包</title>
    <link href="/static/css/controls.css" rel="stylesheet">
    <link href="/static/css/engine.css" rel="stylesheet">
    <script src="/bower_components/requirejs/require.js" data-main="/static/app.js"
            data-bootstrap-modules="'system/userManagement/CopyPackageModule'"></script>
</head>
<style type="text/css">
    body{
        overflow-x: hidden;
        overflow-y: hidden;
    }
</style>
<body ng-controller="CopyPackageController" style="height: auto" ng-cloak>
<!--弹出框内容-->
<div class="engine-popup">
            <input type="hidden" name="projectId" ng-model="rulePackage.projectId">
    <div class="attribute-form-group">
        <div class="attribute-form-group-l">项目：</div>
        <div class="attribute-form-group-r">
            <select ng-model="project.id" name="id" ng-change="setPackage(project.id)">
                <option ng-repeat="project in projects"   value="{{project.id}}">{{project.projectCode}}</option>
            </select>
        </div>
        <div class="clear"></div>
    </div>
            <div class="attribute-form-group">
                <div class="attribute-form-group-l">复制规则包：</div>
                <div class="attribute-form-group-r">
                    <select ng-model="rulePackage.id" name="id">
                        <option ng-repeat="package in packages"   value="{{package.id}}">{{package.name}}</option>
                    </select>
                </div>
                <div class="clear"></div>
            </div>
            <div class="attribute-form-group">
                <div class="attribute-form-group-l">规则包名:</div>
                <div class="attribute-form-group-r">
                    <input type="text" id="name" class="form-control" name="name"  ng-model="rulePackage.name">
                </div>
                <div class="clear"></div>
            </div>
            <div class="attribute-form-group">
                <div class="attribute-form-group-l">规则包编码:</div>
                <div class="attribute-form-group-r">
                    <input id="artifactId" type="text" class="form-control" name="artifactId"  ng-model="rulePackage.artifactId">
                </div>
                <div class="clear"></div>
            </div>
            <div class="tck-line"></div>
            <div class="tck-b">
                <button type="button" class="engine-btn-default" ng-click="confirm()">确认</button>
                <button type="button" class="engine-btn-default" ng-click="cancel()">取消</button>
            </div>
</div>
<!--弹出框内容结束-->
</body>
</html>